﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;

/// <summary>
/// Summary description for KhuyenMaiCtr
/// </summary>
public class KhuyenMaiCtr
{
	public KhuyenMaiCtr()
	{
		
	}
    public DataTable GetSanPhamKhuyenMai()
    {
        try
        {
           return DataProvider.GetData("select sanpham.*,chitietkhuyenmai.* from sanpham,chitietkhuyenmai where sanpham.masp=chitietkhuyenmai.masp");
            
        }
        catch (Exception ex)
        {
            throw ex;
        }
    }
}